const express = require('express');
const router = express.Router();


const user_handler = require('../router_handler/userInfo_handler')

// 编辑
router.post('/edit/:id', user_handler.userEdit)

// 新增
router.post('/add', user_handler.userAdd)

// 查询全部数据
router.get('/allUsers', user_handler.userAll)

// 删除数据
router.post('/delete/:id', user_handler.userDelete)

module.exports = router